//
//  AddFeedViewController.h
//  iRSSNews
//
//  Created by bk_sport on 12/29/12.
//  Copyright (c) 2012 bk_sport. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Category.h"

@interface AddFeedViewController : UIViewController <UITextFieldDelegate, NSFetchedResultsControllerDelegate>

@property (strong, nonatomic) NSFetchedResultsController *fetchedCategories;
@property (strong, nonatomic) NSFetchedResultsController *fetchedFeeds;

@property (weak, nonatomic) IBOutlet UITextField *feedNameTF;
@property (weak, nonatomic) IBOutlet UITextField *feedRSSTF;
@property (weak, nonatomic) IBOutlet UILabel *feedNameLB;
@property (weak, nonatomic) IBOutlet UILabel *feedRSSLB;
@property (nonatomic) bool isAdd;
@property (nonatomic) NSInteger selectedRowFeed;
@property (nonatomic) NSInteger selectedRowCategory;
@property (strong, nonatomic) Category *categoryItem;
@property (strong, nonatomic) Feed *feedItem;

@end
